<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>js_1_write</title>
</head>

<body>
    <h1>My first web page.</h1>
    <p id="demo">My first paragraoh.</p>
    <div id="mydiv">
        A div.
    </div>
    <script>
        document.getElementById("demo").innerHTML = "My first javascript";
        document.getElementById("mydiv").innerHTML = "How old are you?"
    </script>
</body>

</html>
